package com.foreveross.taskservice.infra.exception;

public abstract class BaseRuntimeException extends RuntimeException {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6404414611526136192L;
	private static final long E_CODE = 2000;

	public BaseRuntimeException(){
		super(String.valueOf(E_CODE));
	}
	
	public BaseRuntimeException(int code){
		super(String.valueOf(code));
	}
	
	public BaseRuntimeException(String message){
		super(message);
	}
	
	public BaseRuntimeException(String message,Throwable rootCause){
		super(message,rootCause);
	}
	
	public BaseRuntimeException(String message, Exception ex){
		super(message,ex);
	}
}
